<!-- catalog/templates/catalog/book_renew_librarian.html -->
{% extends "base_generic.html" %}

{% block content %}
  <h1>续借图书: {{ bookinst.book.title }}</h1>
  <p>借阅者: {{ bookinst.borrower }}</p>
  <p{% if bookinst.is_overdue %} class="text-danger"{% endif %}>
    应还日期: {{ bookinst.due_back }}
  </p>

  <form action="" method="post">
    {% csrf_token %}
    <table>
      {{ form.as_table }}
    </table>
    <input type="submit" value="提交">
  </form>
{% endblock %}